package com.ruoyi.media.controller;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.media.domain.Tags;
import com.ruoyi.media.service.ITagsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.List;


@RestController
@RequestMapping("/display/tags")
public class DisplayTagController extends BaseController {

    @Autowired
    private ITagsService tagsService;

    /**
     * 查询标签管理列表
     */
    @GetMapping("/list")
    public TableDataInfo list(Tags tags)
    {
        startPage();
        List<Tags> list = tagsService.selectTagsList(tags);
        return getDataTable(list);
    }



}

